
NAME = INIT

-include menuconfig/config.mk

ifeq ($(strip $(PLAT)), stm32f10x)
$(NAME)_SRCS = init_stm32f10x.c
endif

$(NAME)_COMPONENTS = \
	system/kernel/os \
	system/kernel/memory \
	system/kernel/debug \
	system/kernel/driver/device

ifeq ($(CONFIG_CONSOLE),y)
$(NAME)_COMPONENTS += system/kernel/console
endif

ifeq ($(CONFIG_FS),y)
$(NAME)_COMPONENTS += system/kernel/fs
endif

GLOBAL_INCS = .